package com.itheima.mapper;

import com.itheima.entity.Dept;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;

@Mapper
public interface DeptMapper {
//    @Select("select * from tlias.dept")


    //查部门
    List<Dept> list();

    //删部门
    void delete(Integer id);

    //增部门
    void add(Dept dept);

    Dept getById(Integer id);

    void update(Dept dept);
}